# 空文件，标记这是一个Python包 

import os

# 创建上传目录
UPLOAD_DIR = "uploads"
AVATAR_DIR = os.path.join(UPLOAD_DIR, "avatars")
APPEARANCE_DIR = os.path.join(UPLOAD_DIR, "appearances")
VOICE_DIR = os.path.join(UPLOAD_DIR, "voices")

for dir in [AVATAR_DIR, APPEARANCE_DIR, VOICE_DIR]:
    os.makedirs(dir, exist_ok=True)

# 导入安全相关的工具函数
from .security import get_password_hash, verify_password
from .jwt import (
    create_access_token,
    verify_token,
    ACCESS_TOKEN_EXPIRE_MINUTES,
    SECRET_KEY,
    ALGORITHM
)

# 导出所有工具函数和常量
__all__ = [
    "get_password_hash",
    "verify_password",
    "create_access_token",
    "verify_token",
    "ACCESS_TOKEN_EXPIRE_MINUTES",
    "SECRET_KEY",
    "ALGORITHM",
    "UPLOAD_DIR",
    "AVATAR_DIR",
    "APPEARANCE_DIR",
    "VOICE_DIR"
] 